/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.lottery.game.core.modules.mapper;

import com.lottery.game.core.modules.entity.user.ChatRecord;

import java.util.List;
import java.util.Map;


/**
 * 聊天记录管理DAO接口
 * @author ss
 * @version 2018-05-11
 */

public interface ChatRecordDao {

	/**
	 * Gx
	 * @param map
	 * @return
	 */
	List<ChatRecord> queryChatRecordByRoomnumber(Map<String, Object> map) ;
	
	/**
	 * Gx
	 * @param map
	 * @return
	 */
	List<ChatRecord> queryChatRecordByRoomnumberByUser(Map<String, Object> map) ;
	

	List<ChatRecord> findList(ChatRecord chatRecord);

	int setReadStatus(ChatRecord chatRecord);

	public  void insertChatRecord(ChatRecord chatRecord);

	public List<ChatRecord>  queryCustomerServiceChatRecordByUser(Map<String, Object> map) ;

	String fintCustomServieWelcomeMsg();
}
